package com.apac.bom;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the jmesa_table_columns_tbl database table.
 * 
 */
@Entity
@Table(name="jmesa_table_columns_tbl")
public class JmesaTableColumn extends AbstractBOM implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="JMESA_TBL_COLS_CODE")
	private int jmesaTblColsCode;

	@Column(name="JMESA_COL_NAME")
	private String jmesaColName;

	@Column(name="JMESA_MTHD_NAME")
	private String jmesaMthdName;

	//bi-directional many-to-one association to JmesaTable
	@ManyToOne
	@JoinColumn(name="JMESA_TBL_CODE")
	private JmesaTable jmesaTable;

	public JmesaTableColumn() {
	}

	public int getJmesaTblColsCode() {
		return this.jmesaTblColsCode;
	}

	public void setJmesaTblColsCode(int jmesaTblColsCode) {
		this.jmesaTblColsCode = jmesaTblColsCode;
	}

	public String getJmesaColName() {
		return this.jmesaColName;
	}

	public void setJmesaColName(String jmesaColName) {
		this.jmesaColName = jmesaColName;
	}

	public String getJmesaMthdName() {
		return this.jmesaMthdName;
	}

	public void setJmesaMthdName(String jmesaMthdName) {
		this.jmesaMthdName = jmesaMthdName;
	}

	public JmesaTable getJmesaTable() {
		return this.jmesaTable;
	}

	public void setJmesaTable(JmesaTable jmesaTable) {
		this.jmesaTable = jmesaTable;
	}

}